package service.Impl;

import dao.Impl.ShopDaoImpl;
import model.entity.Shop;
import service.ShopService;

public class ShopServiceImpl implements ShopService {

    ShopDaoImpl shopDao=new ShopDaoImpl();
    @Override
    public Shop getShop() {
        return shopDao.getShop();
    }

    @Override
    public void updateStatus(int id, int status) {
        shopDao.updateStatus(id,status);
    }

    @Override
    public void update(Shop shop) {
        shopDao.update(shop);
    }
}
